package office.action.hr.wrapper;

public class QuitEntryWrapper {

	private String id;
	private String userId;				//用户id
	private String name;				//姓名
	private String dept;				//部门
	private String office;				//职务
	private String appointmentDate;		//入职时间
	private String quitReason;			//辞职原因
	private String entryDate;			//申请时间
	private String state;
	private String stateName;
	public QuitEntryWrapper(){
		
	}
	public QuitEntryWrapper(String name,String userId,String id,String office,
			String appointmentDate,String quitReason,String entryDate,String state,String deptName){
		this.name = name;
		this.userId = userId;
		this.id = id;
		this.office = office;
		this.appointmentDate = appointmentDate;
		this.quitReason = quitReason;
		this.entryDate = entryDate;
		if(null!=state && !("").equals(state)){
			if(state.equals("-1")){
				this.stateName = "审批驳回";
			}else if(state.equals("0")){
				this.stateName = "未提交审批";
			}else if(state.equals("1")){
				this.stateName = "审批过程";
			}else if(state.equals("100")){
				this.stateName="审批完成";
			}
		}
		this.state = state;
		this.dept = deptName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getOffice() {
		return office;
	}
	public void setOffice(String office) {
		this.office = office;
	}
	public String getAppointmentDate() {
		return appointmentDate;
	}
	public void setAppointmentDate(String appointmentDate) {
		this.appointmentDate = appointmentDate;
	}
	public String getQuitReason() {
		return quitReason;
	}
	public void setQuitReason(String quitReason) {
		this.quitReason = quitReason;
	}
	public String getEntryDate() {
		return entryDate;
	}
	public void setEntryDate(String entryDate) {
		this.entryDate = entryDate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getStateName() {
		return stateName;
	}
	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
	
}
